<#include "../../page.ftl" />
<table class="table table-datatable table-gray check_table">
    <thead>
    <tr>
        <th>项目</th>
        <th>小项</th>
    <#list 12..0 as t>
        <#if (weekNum-t>13 && weekNum-t<=26)>
            <th style="text-align:right">Q${((weekNum-t+12)/13)?int}WK${weekNum-t-13!''}</th>
        <#elseif (weekNum-t>26 && weekNum-t<=39)>
            <th style="text-align:right">Q${((weekNum-t+12)/13)?int}WK${weekNum-t-26!''}</th>
        <#elseif (weekNum-t>39)>
            <th style="text-align:right">Q${((weekNum-t+12)/13)?int}WK${weekNum-t-39!''}</th>
        <#else>
            <th style="text-align:right">Q${((weekNum-t+12)/13)?int}WK${weekNum-t!''}</th>
        </#if>
    </#list>
    </tr>
    </thead>
    <tbody>
    <#if ykKhbsTable.rows??>
        <#list ykKhbsTable.rows as ykKhb>
        <tr>
            <td>${ykKhb.DType!''}</td>
            <td>${ykKhb.XType!''}</td>
            <td align="right">${ykKhb.ak1!''}</td>
            <td align="right">${ykKhb.ak2!''}</td>
            <td align="right">${ykKhb.ak3!''}</td>
            <td align="right">${ykKhb.ak4!''}</td>
            <td align="right">${ykKhb.ak5!''}</td>
            <td align="right">${ykKhb.ak6!''}</td>
            <td align="right">${ykKhb.ak7!''}</td>
            <td align="right">${ykKhb.ak8!''}</td>
            <td align="right">${ykKhb.ak9!''}</td>
            <td align="right">${ykKhb.ak10!''}</td>
            <td align="right">${ykKhb.ak11!''}</td>
            <td align="right">${ykKhb.ak12!''}</td>
            <td align="right">${ykKhb.ak13!''}</td>
        </tr>
        </#list>
    </#if>
    </tbody>
</table>
<#if ykKhbsTable??>
    <@page table=ykKhbsTable formId="search_ykKhb_table"/>
</#if>